package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
/**
    * 图片表
    */
@Data
@TableName(value = "img")
public class Img {
    /**
     * 图片id
     */
    @TableId(value = "img_id", type = IdType.ASSIGN_ID)
    private Long imgId;

    /**
     * 菜单id
     */
    @TableField(value = "m_id")
    private Long mId;

    /**
     * 图片地址
     */
    @TableField(value = "url")
    private String url;

    /**
     * 是否删除，0是删除，1是正常
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    public static final String COL_IMG_ID = "img_id";

    public static final String COL_M_ID = "m_id";

    public static final String COL_URL = "url";

    public static final String COL_IS_DELETE = "is_delete";
}